package com.ljx.itbbs.server.mall.event;

import com.ljx.itbbs.server.mall.domain.entity.CouponEntity;
import lombok.Getter;
import org.springframework.context.ApplicationEvent;

/**
 * @Author: LiJunXi
 * @Description:
 * @Date: 2024-04-27  19:23
 */
@Getter
public class CouponSaveEvent extends ApplicationEvent {

    private CouponEntity couponEntity;

    public CouponSaveEvent(Object source, CouponEntity couponEntity) {
        super(source);
        this.couponEntity = couponEntity;
    }
}
